#ifdef PSOS
namespace std { }

using namespace std;

#include <string>
#include <locale>
#endif

#include <stdio.h>
#include "timer.h"

extern "C" void MAIN (void)
{
	tmr_t timer = tmrInit();
	
	tmrStart(&timer);
	usleep(184729);
	tmrStop(&timer);
	printf("Delay was %f microseconds\n", tmrGetValueInUs(&timer));

	tmrStart(&timer);
	usleep(9823534);
	tmrStop(&timer);
	printf("Delay was %f microseconds\n", tmrGetValueInUs(&timer));

  	tmrStart(&timer);
	usleep(13729);
	tmrStop(&timer);
	printf("Delay was %f microseconds\n", tmrGetValueInUs(&timer));


}
